package com.wzs.setting.dao;

import com.wzs.setting.domain.Like;
import com.wzs.setting.domain.Readr;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ReaderMapper {
    int deleteByPrimaryKey(String id);

    int insert(Readr record);

    int insertSelective(Readr record);

    Readr selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Readr record);

    int updateByPrimaryKey(Readr record);

    Readr login(Map<String, String> map);

    int register(Readr readr);

    int like(Map<String, String> map);

    int getTotalByCondition(HashMap<String, Object> map);

    List<Like> getLikeListByCondition(HashMap<String, Object> map);

}